<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close" ng-click="permitModal.close()">
        <span aria-hidden="true">×</span></button>
    <h4 class="modal-title">关联权限</h4>
</div>
<div class="box">

    <div id="permitGird" ui-grid="permitGird" ui-grid-pagination ui-grid-auto-resize
         ui-grid-empty-base-layer ui-grid-resize-columns ui-grid-selection></div>

</div>
<!-- /.box -->
<div class="modal-footer">
    <button type="submit" class="btn btn-primary" ng-click="savePermit()">
        保存
    </button>
    <button type="submit" class="btn btn-default pull-right"
            ng-click="permitModal.close()">
        关闭
    </button>
</div>